package org.crmsystem.model;

import java.util.Date;

/**
 * 用户表
 * @author sunyanping
 */
public class User {
    /**
     * 用户Id
     */
    private int id;
    /**
     * 用户名称
     */
    private String name;
    /**
     * 用户密码
     */
    private String password;
    /**
     * 员工Id
     */
    private int staffId;
    /**
     * 员工名称
     */
    private String staffName;
    /**
     * 职务Id
     */
    private int jobId;
    /**
     * 职务名称
     */
    private String jobName;
    /**
     * 部门Id
     */
    private int deptId;
    /**
     * 部门名称
     */
    private String deptName;
    /**
     * 创建员工的日期Date
     */
    private Date createDate;
    /**
     * 创建员工的日期String
     */
    private String strCreateDate;
    /**
     * 用户角色Id
     */
    private int roleId;
    /**
     * 角色名称
     */
    private String roleName;
    /**
     * 启用状态
     */
    private String useState;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getStaffId() {
        return staffId;
    }

    public void setStaffId(int staffId) {
        this.staffId = staffId;
    }

    public String getStaffName() {
        return staffName;
    }

    public void setStaffName(String staffName) {
        this.staffName = staffName;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getStrCreateDate() {
        return strCreateDate;
    }

    public void setStrCreateDate(String strCreateDate) {
        this.strCreateDate = strCreateDate;
    }

    public int getRoleId() {
        return roleId;
    }

    public void setRoleId(int roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public int getJobId() {
        return jobId;
    }

    public void setJobId(int jobId) {
        this.jobId = jobId;
    }

    public String getJobName() {
        return jobName;
    }

    public void setJobName(String jobName) {
        this.jobName = jobName;
    }

    public int getDeptId() {
        return deptId;
    }

    public void setDeptId(int deptId) {
        this.deptId = deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getUseState() {
        return useState;
    }

    public void setUseState(String useState) {
        this.useState = useState;
    }
}
